<?php

namespace app\utils\ui\ele;

use app\utils\ui\vue\VueFormItem;
use app\utils\ui\UIView;
use app\utils\ui\VueView;
use Closure;

class Radio extends VueFormItem implements VueView{

    /**
     * @param string $vmodel 字段，空则不添加v-model
     * @param string $vmodel_value 字段值
     * @param array|Closure $attr
     * @param array|UIView $child
     */
    public function __construct($vmodel,$vmodel_value,$attr,$child) 
    {
        parent::__construct($vmodel,$vmodel_value,$attr,$child);
    }
    
    public function render()
    {
        return parent::base_render('el-radio');
    }
}